import http from '../utils/request'
export const getEdit = (limit) => {
  return http.request({
    method: 'get',
    url: `/personalized?limit=${limit}`
  })
}

export const getMusic = () => {
  return http.request({
    method: 'get',
    url: `/personalized/newsong`
  })
}

export const getSwip = () => {
  return http.request({
    method: 'get',
    url: '/banner?type=2'
  })
}

export const getplaylist = (id) => {
  return http.request({
    method: 'get',
    url: `/playlist/detail?id=${id}`
  })
}